package com.zjj.filmcommentapi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import  springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication
@MapperScan("com.zjj.filmcommentapi.dao")
@EnableSwagger2
@EnableWebMvc
@ComponentScan(basePackages={"com.zjj"})
class FilmcommentApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(FilmcommentApiApplication.class, args);
    }

}

